package com.sz.admin.dtuinfo.pojo.po;

import com.mybatisflex.annotation.*;
import com.mybatisflex.core.handler.JacksonTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.sz.mysql.EntityChangeListener;
import java.time.LocalDateTime;
import java.util.List;

/**
* <p>
* DTU消息日志表
* </p>
*
* @author sz-admin
* @since 2025-09-30
*/
@Data
@Table(value = "dtu_message_log", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "DTU消息日志表")
public class DtuMessageLog implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description ="id")
    private Long id;

    @Schema(description ="DTU设备ID")
    private String dtuId;

    @Schema(description ="发送的文本内容")
    private String text;

    @Schema(description ="种子消息内容(CRC校验码)")
    private String seedMessage;

    @Schema(description ="创建时间")
    private LocalDateTime createTime;

    @Schema(description ="创建人ID")
    private Long createId;

}